import {NgModule} from '@angular/core';
import {FileUploadModule} from 'primeng/fileupload';
import {FileUploadDirective} from './file-upload.directive';
import {FileDownloadDirective} from './file-download.directive';
import {ButtonsComponent, MoreDirective} from "./buttons.component";
import {CommonModule} from "@angular/common";
import {DialogDirective} from "./dialog.directive";
import {TableButtonNewDirective} from "./table-new.directive";
import {TableButtonEditDirective} from "./table-edit.directive";
import {TableButtonDeleteDirective} from "./table-delete.directive";

@NgModule({
  declarations: [
    FileUploadDirective,
    FileDownloadDirective,
    ButtonsComponent,
    MoreDirective,
    DialogDirective,
    TableButtonNewDirective,
    TableButtonEditDirective,
    TableButtonDeleteDirective
  ],
  imports: [
    CommonModule,
    FileUploadModule
  ],
  exports: [
    FileUploadDirective,
    FileDownloadDirective,
    ButtonsComponent,
    MoreDirective,
    DialogDirective,
    TableButtonNewDirective,
    TableButtonEditDirective,
    TableButtonDeleteDirective
  ]
})

export class ButtonModule {
}
